div.dialog.dialog-window(ng-if="leftBar.editorFilePath", ng-ace-editor, ng-ace-editor-theme="xcode", ng-ace-file-name="{{leftBar.editorFileName}}", ng-ace-file="{{leftBar.editorFilePath}}" ng-model="aceFileModel")
  div(class="prompt-window-options")
    span(class="prompt-window-infos", title="{{leftBar.rightClickedProject.path}}")
      img(src="img/loading.svg", width="13", ng-show="(savingFile && !savedFile) || loadingFile")
      i(class="fa fa-check color-primary", ng-show="savedFile && !savingFile")
      | {{leftBar.rightClickedProject.dirName}}/{{leftBar.editorFileName}}
    button(ng-click="saveFile()")
      | Save
    button(ng-click="leftBar.editorFilePath = undefined; aceFileModel = undefined;")
      | Close
  div(class="window")
    div(class="ng-ace-editor", autofocus, ng-autofocus="true")
